package com.poitest.mapper;

import com.poitest.pojo.TPoor;
import com.poitest.pojo.TPoorExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface TPoorMapper {
    int countByExample(TPoorExample example);

    int deleteByExample(TPoorExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TPoor record);

    int insertSelective(TPoor record);

    List<TPoor> selectByExample(TPoorExample example);

    TPoor selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TPoor record, @Param("example") TPoorExample example);

    int updateByExample(@Param("record") TPoor record, @Param("example") TPoorExample example);

    int updateByPrimaryKeySelective(TPoor record);

    int updateByPrimaryKey(TPoor record);
}